package com.atguigu.spzx.cart.feign;

import com.atguigu.spzx.cart.dto.CartItemRedisQueryRespDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * <p>
 * CartFeignClient
 * </p>
 *
 * @author flyduck
 * @since 2023/11/6
 */
@FeignClient(value = "spzx-cart-service")
public interface CartFeignClient {
    @GetMapping(value = "/api/order/cart/auth/getAllCkecked")
    public List<CartItemRedisQueryRespDto> getAllChecked();

    @GetMapping("/api/order/cart/auth/deleteChecked")
    public void deleteChecked();
}
